Include library

Hi everyone,

I'm trying to use include to include my library but I've an issue.

Currently, I'm writting my include as below :

#include <T:\Working_Space\HW\Andrad1\EPS_PP\20_SYS\90_Tools\30_DOORS Toolbox\EPS_PP_DOORS_Toolbox_Function\Input_Functions.inc>
#include <T:\Working_Space\HW\Andrad1\EPS_PP\20_SYS\90_Tools\30_DOORS Toolbox\EPS_PP_DOORS_Toolbox_Function\Pixel_Calculation.inc>
 

I'd like to take off "T:\Working_Space\HW\Andrad1\" which is specific for each user. How can I write my include as below to make it generic :

#include <EPS_PP\20_SYS\90_Tools\30_DOORS Toolbox\EPS_PP_DOORS_Toolbox_Function\Pixel_Calculation.inc>

I already tried what I put above but it didn't work... Maybe it is a good way to find the dxl source path, then it will be easier to do what I want to do. But I didn't get...

Is it possible to resolve my issue ?

Thank you in advance,

 

Best Regards,

Adrien


andrad - Mon Jan 19 04:53:38 EST 2015

Re: Include library
Mike.Scharnow - Mon Jan 19 07:02:53 EST 2015

there are a lot of posts on the forum that deal with relative file names for include files. search for keywords like addins, projectaddins, relative, include path and the like, e.g. Re: Library concept?.

There are various ideas on how to implement a solution. In your case it might be an idea to create a start batch script for DOORS or a registry setting script which sets the addins variable to T:\Working_Space\HW\<user>, or a batch script / .lnk file which sets the working directory of doors.exe to T:\Working_Space\HW\<Andrad1> (if T: exists at the time of starting DOORS)

Regards,
Mike